package com.mrjy.integral.util;
/**
 * 积分枚举类，用于定义积分来源及其分数值
 * @author csshui
 *
 */
public enum HappinessInfoEnum {
	/**
	 * （0:学习--观看一个视频;1:提问 ;2:回答 ;3:评论;4:签到 ;5:点赞;6:笔记--视频下的原评论）;7:视频评论点赞
	 */
	
	WATCH_VIDEO("0" , 30 , "学习"),
	ASK("1" , 10 , "提问"),
	ANSWER("2" , 30 , "回答"),
	COMMIT("3" , 5 , "评论"),
	SIGN_IN("4" , 0 , "签到"),//积分另外个枚举类定义
	GOOD("5" , 1 , "点赞"),
	NOTE("6" , 10 , "笔记"),
	VIDEO_GOOD("5" , 1 , "视频评论点赞");
	/**
	 * 爱值类型id
	 */
	private String typeId; 
	/**
	 *爱值
	 */
	private int loveValue ;
	/**
	 * 爱值类型描述
	 */
	private String typeDesc; 
	
	private HappinessInfoEnum(String typeId , int loveValue , String typeDesc){
		this.typeId = typeId ;
		this.loveValue = loveValue ;
		this.typeDesc = typeDesc ;
	}

	public String getTypeId() {
		return typeId;
	}

	public void setTypeId(String typeId) {
		this.typeId = typeId;
	}

	public int getLoveValue() {
		return loveValue;
	}

	public void setLoveValue(int loveValue) {
		this.loveValue = loveValue;
	}

	public String getTypeDesc() {
		return typeDesc;
	}

	public void setTypeDesc(String typeDesc) {
		this.typeDesc = typeDesc;
	}

	
}
